﻿#region Imports
using System;
using CommonUtilities.Extensions;
#endregion Imports

namespace BulkRenamer.Util.Util
{
    public static class EventNotifier
    {
        private static event EventHandler basePathFocusEventHandler;
        public static event EventHandler BasePathFocusEventHandler
        {
            add { basePathFocusEventHandler += value; }
            remove { basePathFocusEventHandler -= value; }
        }

        public static void BasePathFocus(EventArgs e)
        {
            if (!basePathFocusEventHandler.IsNull()) BasePathFocus(e);
        }
    }
}
